import React, {Component} from 'react';
import style from './createCenter.module.less'
import {withRouter} from "react-router-dom";
class createCenter extends Component {
    goCreateMusic =() => {
        this.props.history.push('/Add/MusicPu')
    }

    render() {
        return (
            <div className={style.create} onClick = {this.goCreateMusic}>
                <h1>开始创作</h1>
            </div>
        );
    }
}

export default withRouter(createCenter);